﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityPet
{
    /// <summary>
    /// 宠物保险
    /// 投保方式:
    /// 1 实体店签约（约时间）2 线上签约（教程）
    /// </summary>
    public class Pet_InsMethod
    {

        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid InsMId { get; set; }

        /// <summary>
        /// 投保人名字
        /// </summary>
        public string? InsName { get; set; }

        [StringLength(30)]
        /// <summary>
        /// 电话号码或邮箱
        /// </summary>
        public int PhoneNumber { get; set; }

        [StringLength(30)]
        /// <summary>
        /// 宠物姓名
        /// </summary>
        public string? PetName { get; set; }

        [StringLength(30)]
        /// <summary>
        /// 宠物品种
        /// </summary>
        public string? PetBreeds { get; set; }

        [StringLength(30)]
        /// <summary>
        /// 投保项
        /// </summary>
        public string? InsuranceCover { get; set; }

        /// <summary>
        /// 1.实体，约时间
        /// </summary>
        public DateTime InsAppointment { get; set; }

        /// <summary>
        /// 2. 线上签约教程
        /// </summary>
        public string? InsTutorial { get; set; }

    }
}
